void CMyListView::OnEditAdd() 
{
	// TODO: Add your command handler code here
	CDlgAdd dlg;
    dlg.m_strName = "";
    dlg.m_nScore = 0 ;
    // Display the dialog box.
    int result = dlg.DoModal();
    if (result == IDOK)
	{
		// Create and initialize the new node.
		CStudent* m_pStudent = new CStudent;
		m_pStudent->m_strName = dlg.m_strName;
		m_pStudent->m_nScore = dlg.m_nScore;
		// Add the node to the list.
		m_List.AddTail(m_pStudent);
		// Repaint the window.
		Invalidate();
	}
}
	
